input {
  outline: none;
  border: none;
}

.code {
  width: 96%;
  margin: 0 auto;
  min-width: 1200px;
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  padding-bottom: 50px;
}

.code .nav {
  position: relative;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 18px 0 18px 3%;
  font-size: 18px;
  border-bottom: solid 1px #e9e9e9;
  line-height: 1;
}

.code .nav::before {
  position: absolute;
  content: "";
  left: 1%;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #4f90f3;
  vertical-align: middle;
}

.code .nav .item {
  padding: 4px 0;
  display: inline-block;
}

.code .nav .drop-box {
  position: relative;
  border: 1px solid #e9e9e9;
  width: 260px;
  box-sizing: border-box;
  padding-right: 40px;
}

.code .nav .drop-list {
  position: absolute;
  left: 100%;
  left: 0;
  width: 100%;
  height: auto;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
  padding: 0 .5em;
  background-color: #fff;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.code .nav .drop-show {
  transform: scaleY(1);
}

.code .drop-list .li {
  line-height: 1.7;
  cursor: pointer;
}

.code .drop-list .li:hover {
  background-color: #4B8AE5;
  color: #fff;
}

.code .nav .posi {
  position: absolute;
  width: 36px;
  height: 100%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #B5B5B5;
  cursor: pointer;
}

.code .nav .drop::before {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid #fff;
  border-left: none;
  border-top: none;
}

.code .nav .input-drop {
  width: 100%;
  padding: 0 .5em;
}

.code .nav .input-search {
  text-align: center;
  padding: 0 .5em;
}

.code .nav .search::before {
  position: absolute;
  content: "";
  width: 18px;
  height: 18px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: url(../images/code/search.png) no-repeat center;
  background-size: 100% 100%;
}

.code .nav .text {
  min-width: 124px;
  box-sizing: border-box;
  padding: 6px 18px;
  text-align: center;
  color: #fff;
  border-radius: 8px;
  user-select: none;
  cursor: pointer;
}

.code .nav .co {
  background-color: #4B8AE5;
  margin: 0 40px 0 76px;
}

.code .nav .export {
  background: linear-gradient(to bottom, #96CEF9, #329DDA);
}

.code .nav .site {
  margin: 0 76px 0 10px;
}

.code .ul {
  width: 100%;
  font-size: 14px;
  box-sizing: border-box;
  padding: 0 1%;
}

.code .ul .li {
  width: 20%;
  float: left;
  margin-top: 50px;
}

.code .ul .item {
  width: 90%;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.code .ul .left,
.code .ul .right {
  position: relative;
  display: inline-block;
  width: 49%;
  padding: 10px 0;
  height: 100%;
  vertical-align: middle;
  box-sizing: border-box;
  padding: 10px;

}

.code .ul .right {
  text-align: center;
}

.code .ul .name {
  font-size: 18px;
}

.code .ul .img-box {
  width: 65.58%;
  min-height: 141px;
  margin: 0 auto;
  padding: 18px 0;
}

.code .ul .bottom {

  position: relative;
  border-top: 1px solid #ccc;
}

.code .ul .bottom::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background-color: #ccc;
}

.code .ul .download {
  /* position: absolute; */
  display: inline-block;
  padding: 14px 22px;
  color: #fff;
  border-radius: 6px;
  background: linear-gradient(to bottom, #4F90F3, #417DC7);
  /* left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); */
  white-space: nowrap;
}

@media screen and (max-width: 1500px) {
  .code .ul .download {
    display: inline-block;
    padding: 12px 16px;
    color: #fff;
    border-radius: 6px;
    background: linear-gradient(to bottom, #4F90F3, #417DC7);
    /* left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); */
    white-space: nowrap;
  }
}